using System;
using System.IO;
namespace NeuralNetwork
{
	public static class StockInterface
	{
		public static System.Collections.Generic.List<String> getStockValues (String stock)
		{
			System.Collections.Generic.List<String> stockValues = null;
			StreamReader streamReader = new StreamReader ("values.csv");
			String line;
			while ((line = streamReader.ReadLine ()) != null)
			{
				if (line.Split (',')[0] == stock)
				{
					stockValues = new System.Collections.Generic.List<string>(line.Split (','));
					stockValues.Remove(stock);
					break;
				}
			}
			
			
			return stockValues;
		}
	}
}

